home *** CD-ROM | disk | FTP | other *** search
- Path: shark.sb.grci.com!usenet
- From: "Howard S. Ostrowsky" <shermo@sb.grci.com>
- Newsgroups: comp.lang.c++
- Subject: Jumping into the middle of a control structure
- Date: 8 Feb 1996 18:44:48 GMT
- Organization: GRC International, Inc.
- Message-ID: <4fdgb0$i4c@shark.sb.grci.com>
- NNTP-Posting-Host: sherm.sb.grci.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
-
- I hope someone who is knowledgable about the C++ Standard can tell me
- whether the Standard absolutely prohibits jumping into the middle of
- a control structure, i.e., by a goto (!). I know that this practice
- is strongly denigrated, and I also know that the FORTRAN-90 standard
- has an absolute prohibition agains it. But at least one C++ compiler
- gave no warning or error message when this was inadvertently done in
- a program.
-
- Can anybody illuminate my confusion on this matter.
-
- Howard S. Ostrowsky
- Tech Staff Member, GRC International
-
-